*{
padding: 0;
margin: 0;
box-sizing: border-box;
}

.layui-card-header{
 display: flex;
 justify-content: space-between;
 align-self: center; 
} 

.right{
 background-color:green;
 color: #fff;
}
.wrong{
 background-color: #ccc;
 color: #fff;

}